package com.lindroy.jetpacknotes.navigation.fragment

import android.os.Bundle
import androidx.navigation.fragment.findNavController
import com.lindroy.jetpacknotes.R
import com.lindroy.jetpacknotes.base.BaseFragment
import kotlinx.android.synthetic.main.fragment_a.*

class AFragment : BaseFragment(R.layout.fragment_a) {

    override fun initView(savedInstanceState: Bundle?) {
    }

    override fun initListener() {
        buttonA.setOnClickListener { findNavController().navigate(R.id.action_a_to_b) }
    }

}